
class TalentHandler:
    
    talents = {}
    
    @staticmethod
    def register(name, talent):
        TalentHandler.talents[name] = talent
        
    @staticmethod
    def get(name, entity):
        return TalentHandler.talents[name](entity)